closes issue #2