Dont think it liked calling the function before it was defined...