wire in the legacy api