reduce variable declaration