Added dragAndDrop method