simplify example. also a missed validate -> check.