attempt to reduce some memory usage