fix for issue 2, the mysterious '1'
standardise indentation
Merge pull request #9 from Gmattgreenfield/issue-2

fix for issue 2, the mysterious '1'
change spelling of visible
merge master