adding support for drag & drop