starting to expand functionality of the api