some performance related optimization..