Added functions to move points