mechanics of writing