updated: new bug for classes