Be wary of taking **kwargs in a function. If you know what arguments you are expecting it's better to to be explicit about it!