set up for webApi