Improved simple example