added map, flatmap and recover to future stream