Using public API instead of private properties
Using public API instead of private properties