move validation workflow to validation method.