two-way selector