implement availability boolean