more work on math filters