change HDI representation
preliminary version, needs changes