Added hmc class