utility for some legacy system