midterm submission

thanks to Jamal for the help!