Removing redundant data