Adding new ruby code