use typeof instead of instanceof
bump to 0.0.2