found that params is a ruby hash