addresses issue #2