Added drag and drop functional