fixed typos and updated mistakes