Adding moveto method