regapi with global registry