added move validation