fixed up simple example