improved naming of helper function