implemented terms deny function