make monitoring optional