First equations, df is seperated in a different function