Beginning of threading for vision