one more cleanup, no need to use a temp value