assignment2 attemp1