significantly reduce memory and battery usage