all working before taking Clist out of Hmat fn.