finish off the edit filter code.