Cleaned up simple example