Guard zones and codes