now with bi-directional selection