verification is moved to separate class