more minor edits
Merge branch 'master' of https://github.com/bletham/shared_coding
finished g_func