moving doc from header to sources