updated for ruby version