Continuation of cs184 project.