Adding the available/not-available variable and behavior