added rotation sensor