allow 0 runtime as infinite