removing redundency