got rid of unneccessary resources