Added require function to set requirements