apply quartz