Header function was updated to only those input argument that are really needed