Use prototypes correctly