performance optimizaion.