pep8
sime fixes
more simple functions for complex things