refactored receipt generator
removed unused methods