fixes #31
minor cleanup
example file