added real-time clock example