Just a tiny matter of style: I would use ```do ... end``` here instead of ```{ ... }```.