added files for Log based implementation