adding basic suport to drag and drop