mered Greg's suggestions, added docstring
1 file changed