added local db filter