added drag and drop basic functionality