added lots of attemts to make drag and drop work