would be easier to read if did `totalMemory - freeMemory` - any reason to do it this way round instead?