add first implementation (not tested) of the move resolution