Context passed to matrix