Added require function