closes issue #1