resolved issue #6