a basic usage of drag and drop