Added 9.
Removed extra variable in 3.