replace with something nicer: init_compiledApis