merge ds and poj