removed blocking code