merge from Ruby