Added available checking method.