add a little test
use dict correctly
concurrency fix
add gitignore
1.0.1