don't allow duplicate classes