fixed typos and got answer