added changes to api