The primary duties are to investigate and put cases before the grand jury. Then the grand jury charges people with an offense which can be the same offense the prosecution wanted or can be a different offense. Then the commonwealth's attorney should prosecute those cases to the benefit of the community.