package layout and clock example