determining movement range is written but not tested yet