using same code for package and ticket.