wrote cfw or block method and tests