added gui for merge thing