initial try of the skeleton code.