quartz example