delete classPart. move some methods