use zero to disable rather than -1