renamed unpm, simpler api