expanded reactive functionality;
added clock example