Add begin, end sections