ruby #3: first version