g is function that returns Option

Typo referencing ```f``` rather than ```g```