now query by ticket number works as the method find