adding begin/end block