Improved function readability