fixed function prototypes