added checkout#total method