fixes #1

Fixes issue 1