add rotor as a dependency