pass pyflakes
add some documentation