add require callback