Place in the skeleton code for CheckAvailability