fixed output to timestamps
got all of the demos to work