fixes issue 1

Fixes #1