built the skeleton of code