drag and drop made in one class