reduce variable & improve performance