modify client.rb