More example code, mainly looking at 'mark' sub-functions