gui added
resync implemented