Solve cast.