trace and learn set cogs