improved the logs