adding in first attempt of rmsd