implement merged view