you can avoid variable declaration that is not used at least twice