handled issue #5 (not closed)