costs of writing