completely change hug from hardcode to dynamic