optimize for test coverage