add code snippets explaining what is wrong