Now with functions!

Wooooooooohoooooooooooo