join and break up code sections