isolate vlans detection in a couple of functions