updated sample 6 to include timer
Started sample 7