Get the value before trying to store it!
Pass instance around for inflate