Added example with rxjava