ben solution in prog