you can use a double voltage relay in order to accomplish this as well.