Forgot to add something resulting in a function not working