changed hard-coded torch check area to a variable.