IMO .tap makes things confusing here. Perhaps assign to a variable and operate on it