function prototypes modification