Changed hp 'length' to 'h_length'