toggle for availability works