some optimization is done