I've improved the function naming as requested.