added prototypes for the new functions