Extract another function for readability