removing redundant class