If you do it this way, it needs to go at the top of the function where you had it.