correct prototypes