changed prototypes