Organise output writing into single method call