Add in vertex detection variables