stripping down the api