add drug and drop function