improved memory use