added function()

Sorry for the commit spam, but I'm hosting this on github and gapis
require a live file to run