We could shorten these last several lines to ```return ret;```, can't we?