memory usage added