for ($z=0; $z