added constraints
added two more merge examples