comments added, q. 3 completed