polished for pylint