working on calcMove()