extend comments and scaffold out functions to look like example