complete function generator documentation (but needs some tutorials to back it up)