redoing the hartle tutorial