add clock example come from weidongshan code