closes #3 issue