different validation method