small change to get rid of unnecessary variable