docs on client.rb