added vision threshold save