closes issue #1.