Maybe add a doc string explaining what this does, parameters, return value sort of thing?