correct method prototypes