yay for functions