filter is already defined at this point. no need for another var.