updated for test coverage for issue #9