Why did you move this to the end of the function?