Put Pave as a function and made the model an addition to the Dataframe D