quartz in matrix