add type checking
update docs
bump version to 0.0.2