Added more the imperative example