judicial and quasi-judicial procedure