Revert "remove require"

This reverts commit 3971ba9514fac04685afc39ac4ee4a6405778094.