Fixed typos and removed some provided code