store the result (optional)