Added data types to function prototypes