staff to check my approach to 2-edge connectivity