Removing excess data