renamed validation method