pep8 compliant. Made changes as requested by pascal