replaced input names for tickets, removed some console.logs