reconfigure the api a bit