manual threshold setting added