correcting value_type for randjorth