Make function static