test coverage to 87%