Removed trailing whitespace, reduced length of a docstring, split long line of code accross multiple lines