parameterised the read, first stages of inproperating the translateHardware function