refactored new ticket action