added available classes checker