Bugfix + add createTicket method