Better to make parseHDI take an argument.