simplifying one of the helpers.