add path motion