proposed fix for Arthur's bug
fixes #85
fixes issue #83