added -inf instead of -1000