Replaced scheduler with reactive's scheduler