finish question 4(need to debug) and begin for question 5