reorganized kryo setup