adding vision code