Creating and Adding the code