Updated Function Template

I'll probably do this at least 1M more times. lol