this closes issue #9