Updated imperative example to pass ctro args