finish bef. aft. pr data clause handler