great ruby golf by @kerryb