modified require to require_dependency