renamed helper method