factor out constants. factor out some danrw literals.
commit