added the Log class