added real time example