Boolean flag in write_end converted to T/F