Writing, fixing refs.