clean up imports
prior comments
pep8
pep8
use rewinder likelihood