added %b spec for binary formatting