all tests passing with some of whit's help. api works