Yes.
trap first, vent second.