cleaned up the examples a bit