validator typo removed, method simplified