removal of extra classes