Finished the prototype for ticketCalc