Refactored time generation, added purchase methods