Added more code to example.