fitting value class