cuts down on memory