working on sensor