classes distribution