added isAvailable