Extracted verification into method