started out some function prototypes.