Understanding how computed properties work