Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.