adding real time clock example