Added all function prototypes