rtos works