finalize response class