Assignment 5: SM

WIP.