created class, fakes calls to an api