retain ws