small changes in api