Patch changes, fixes #1

first pull request