inner metric class