If you're trying to set up "3 way switches", here's how two switches control one light, just follow the current flow:
hot wire______A sw com
If you follow the current, the "A" switch can divert current onto the top wire, or the bottom. The "B" switch can receive current on the top wire or the bottom. No matter where one switch is at, the other switch can either go to wire with current (turn on the light) or the wire without current (turn off).
So as long as you still have your old switches connected, you don't have to trace out your wires. Just move the wire from the com on the old switch to the com on the new switch, and the other two wires to the poles.
A s pole 1______ B w pole 1
hot wire______A sw com
B sw com______ (light) ______ neutral
A sw pole 2______ B sw pole 2
If you follow the current, the "A" switch can divert current onto the top wire, or the bottom. The "B" switch can receive current on the top wire or the bottom. No matter where one switch is at, the other switch can either go to wire with current (turn on the light) or the wire without current (turn off).
So as long as you still have your old switches connected, you don't have to trace out your wires. Just move the wire from the com on the old switch to the com on the new switch, and the other two wires to the poles.