fv and fp now in the problem definition class