function make_move added