added quiz 2 code