added a logger that is still not functional.