some mods
added to lecture 7
added more to functions
modded functions
added yada yda yada