simpler basic example

Slightly simplified basic example. Created this one because the original wasn't working properly.