Just for future reference, variables can store the return values of functions just fine. Variables are meant to store things, after all.
Any function that returns a value (and any function that doesn't return a value) can be on the right side of an assignment operation, and the variable will contain what was returned, always.