make fully consistent with example