avoid extra variable