Completed simple example