switch to use validateNotEmpty