only write when it make sense