would be good to not `require()` inside a function, since it's sync ?