sensors work