moved the require to the place to source which uses it