Added process scheduler