handle sensor