Made name clearer and added docstring.