latest code added for week 6
latest code added for week 6