Added function prototypes.