validation modified