It looks like it has possibilities. How about a modicum of documentation? Or even comments in the code?