cakemap IPF code examples