Midway through assignment 5. Doesn't work.