begin rewriting dragging part
update a dark demo