R (for 5 minute time delay option)