cleanup + comments + clock example