pep8
added commandline prototype