changed such that vertices will be one of the invisible arguments