Added use of vision code