docstring please. And whats going on here? :)