fix example of requiring templates