Added comment to function.