execute trajectory