Do functions need defined before called?