Added prototypes for function functions