make similar to rxjava demo