why we are setting the variable here, but using it on line 257 before this?