phase2 experiment for assignment 3.