Wrote skeleton code