Added a submissions helper function (code reuse for future additions)