added simple interface for drag and drop