Refactored function name to be more meaningful