switched require to module.parent.require