Adding sensor mode