setting up initial code