Smart card machine