How does the drag and drop method work?