Typos and updated code example