cleaned code chunks