I am replacing 2 3-way switches that control a cieling light. Into each box comes a red,black and white wire. I tried wiring each switch the same way, with each color in the same position on each switch but the switches do not work the way they should. the switches do have a black screw and 2 brass screws. what colors go where and does each switch get wired exactly the same as the other?