Maybe move to the top of the function?