changed avail conf param type to int