Added references and initial code