removed ruby code