Added-logic-for-showing-the-availability