tidying up Printf