Very nice! I'll update it. With your shorter version, I agree that the if block doesn't need braces. :)