shortening some lines to make pylint happy