modify for ruby