Type cast subscribe() method input