working on log capability