Updated aidan99 with function prototyping example