simplified format() due to a later change