edge should be present before able to switch