normalised code across filters, now will also flag for a process if an input value is changed
logic for dealing with flagging for process when input changes