added step 3 to demo2, with new time source, small fixes in demo1, removed console.log to make it more readable