prepare drag and drop