use Right functor.