added answer for q2