Under the doctrine of separation of powers , the law-making function is primarily the responsibility of the legislature .
The function and procedures are primarily the responsibility of the legislature .