Fixing program5.