functions don't go in other functions.