custom thresholds, also more capabilities but commented out for now