week8 logging done