made visionbase function protected