dot: move function
dot: add which helper function