adding code from sixth week and editing info