refactor coordinate, need to refactor Cart#move