Added fn snippet