added move number check