closes issue #4