improve format docs