Added debug for final action