adding use-api to code base
fixing build break