assignment 2 by joongyang