develop business logic: shopping cart