implemented drag and drop for outcome