Adding the preliminary work