implementing saving of filters