but intent is an array of objects..