added tutorial interval overlap
pep8 changes