added code for q1 amazonSet98