added check availability