code skeleton and initial code attempt added