First version of availability check