minor tweaks to cloak example