extra logging, reformating