adding movement compensation