integrate vision code