sorted out expected interval (yellow shady thing) plot