Added function prototyping.