combine response writers into single class