Added VisibilityDetector.cs