history sample, not ready to be pushed as is, need to create tests.