fix minor errors, complete this assigment.