added threshhold value for steady control