still debugging new df calculation