Reformed code.