Initial Ruby code