added coutMux declaration to resolve linker errors