updating function prototypes