add motion compensation