Rewrite 25 with Ruby