small change in validation