checkAvailability