add require snippet