Wow, I didnt though about named arguments!
Thanks for the hint, I'll update this and add some tests tomorrow.