added availabilityenabled param