added sales generation and storage