tex-ed the theory part.