closes issue #2.