fixing function header