adding sensor