Generic version of the HRP