getting ready to do some memory optimizations