refactored create_ticket and star