Organized internal method definitions, and used time() in example
Barriers!