require snippet