XSAVI780 assignment 2