fixing a missing require statement