nicer setFormat() syntax