typo in cog() documentation