second attempt at sensor, still broken