closes issue #3