first part of ClassBuilder