Function withLatestFrom