Function complete! Woohoo.