fixes #3. fixes #4. fixes #5. fixes #6.

production release v1.0