added varname, a little bit of pep8.