dating age range calculation how do you hook up a three-way switch