Modified example to use just the basic feature

(No top level declaration)