Invention of writing