finished skeleton code prior to testing

finished skeleton code