Sort:  

That looks like a very good starting place, but the API to it is still more complex than I would like to see.

I'd maybe consider throwing some SBD at him for his attempt.. Code looks good! :)

I didn't write that, btw. Just a library that I knew that already implemented it.

"Code looks good?" You realise who the guy is?