updated the functions for the IN and OUT for available and very busy checks