assignment 3 completes (Jimmy Lin)