query builder checkin