prettyfing the log