Implement logic for passing sensor