added checkout view and method