Try moving inside function.