indicate error, returning -1