added checkout view and formatted table