pulled these out of myrubyprograms