fixes #10 improved docs