BASIS all classes codes