setup api and name check