diagnostic writing

see attachment