changes to allow ids to be returned when creating tickets