setup for hpyplm being optional, different metrics