changed Nxyz and Nc to Nxyzc