doing changes for exposing api