added EDT for GUI