refactor claim.valid?