revamp nine dof class