Added uint type to make clock example closer to book.