Added some function, compatible with pep8