got rid of unneeded data