This may be unknown in advance . . . can you document that it returns -1 if unknown ?