first example with ruby