another example file, showing some of the advanced helper functions