initial work for the drag and drop