Setting up logic for shop