add assignment and note model