added format to document