modified code chunks