addressed issue presented in pull request #157