Added up and down merge