Improved g-view example.