parameters is an array not an object