move algorithm and numeric