removing extraneous classes