working on tests.  half are failing