added printf indentions