some explanations to quad form code