updated require in example to match other examles