Creating computed properties and understanding how they work