update assignment and notes, added some custom functions