add event argument to drop function