refactoring how ignored expressions are handled