can store and restore positions and sizes