added primitiv drag method