Infants reason about functional information embedded in means-end sequences