legal and regulatory basis