capping operation