initial skeleton code after merge of group work.