refactored cart page