working on ed.com api calls