An example with pedometer and motion tracking