Things to check when writing a filter