why this is declared globally?