wokring on nearest merger
finished merger, not working yet