bug fix with endpoint object
all tests pass successfully. whoope