how does content writing work