figuring out how targetOrigin works