finished rearranging and commenting scf