use instrument to get size of object