params is an array, not an object