Exercise: Let $(X, \mathcal{A}, \mu)$ be a measure space and $(X, \tilde{\mathcal{A}}, \tilde{\mu})$ its completion. Suppose $\tilde{f}: X\to \mathbb{R}$ is $\tilde{\mathcal{A}}-$measurable. Show that there exist $f:X\to \mathbb{R}$ $\mathcal{A}-$measurable and $M\in \mathcal{A}$ with $\mu(X-M) = 0$ such that $\tilde{f}(x) = f(x)$ for all $x\in M$.
My try: Let $r_1, r_2, ...$ be an enumeration of all the rationals. For each natural number $n$, we know $\tilde{f}^{-1}((-\infty, r_n)) = A_n\cup M_n$, where $A_n\in \mathcal{A}$ and $M_n\subseteq M_0^n$ with $\mu(M_0^n) = 0$. The idea is to try and define $f$ in such a way that $f^{-1}((-\infty, r_n))$ is $\mathcal{A}-$measurable for all $n\in \mathbb{N}$ and $f(x) = \tilde{f}(x)$ for all $x$ except maybe those in $\bigcup_{n\in \mathbb{N}} M_0^n$. I can't complete the proof though.
Any suggestions are greatly appreciated.