some updates to the api...