prnt bef/aft merge