Adding modifications and additions to functions document