added more get functions to api