changes on sensor API