first commit of rotor code