Could you please add a docstring to explain what this does? Also, indents are always 4 whitespaces.