added cog suport for links