Function 1 and 2 working.  Need 3rd function still. None coded