working toward fixing the green curve