RTS done

handling of processes that run out of time may be off - need to verify
with Dr. Tan ASAP