Adds merge and maximum2