formatting and commenting qh5