added some things to API