give constant function a private name so that it doesn't need an exception