matched function prototypes to actual functions