Removing redundant compnonents