Made a function static