writing
fix refs