g is function that returns Option
Merge pull request #17 from searler/pxmap_doc_branch

g is function that returns Option