Created the initial code