Coppied the working code from my frist branch and pasted it into a clean branch