Forgot to make a function not static