format and content preparation