extracted write_computer_definition()
minor style, indentation