improve type checking, etc
bump version before release