rearranged code blocks section