added filters, changed previewlayer to calayer