Made the status messages according to requirements of pep8