correcting issue #4