make the function static instead of extra declaration