added vision to code