got test coverage to a reasonable percentage