added column switch ability modified for canopsis