First version of drag and drop