Added CompleatbleFuture and Function