CHANGE add memory usage atoms + cleanup warnings unused variables